namespace DingHeng.TransportationManagement.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("VehicleOwner")]
    public partial class VehicleOwner
    {
        public VehicleOwner()
        {
            Vehicles = new HashSet<Vehicle>();
        }

        public Guid ID { get; set; }

        [StringLength(128)]
        public string Name { get; set; }

        public Guid? Type { get; set; }

        [StringLength(1024)]
        public string Address { get; set; }

        [StringLength(32)]
        public string ContactNo { get; set; }

        [StringLength(8)]
        public string CreateBy { get; set; }

        public DateTime? CreateDate { get; set; }

        [StringLength(8)]
        public string UpdateBy { get; set; }

        public DateTime? UpdateDate { get; set; }

        public bool? IsActive { get; set; }

        public virtual ICollection<Vehicle> Vehicles { get; set; }
    }
}
